//
//  XHTrafficUserDetailCell.m
//  umibus
//
//  Created by 冷山 on 16/6/17.
//  Copyright © 2016年 lexingsoft. All rights reserved.
//

#import "XHTrafficUserDetailCell.h"

@implementation XHTrafficUserDetailCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.la_height.constant=0.5;
    self.la_height1.constant=0.5;
    self.la_height2.constant=0.5;
    self.ui_useButton.layer.masksToBounds = YES;
    self.ui_useButton.layer.cornerRadius = 8;
    self.ui_view.layer.borderColor = [ColorManager colorWithHexString:@"#666666"].CGColor;
    self.ui_view.layer.borderWidth = 0.5;
}
- (IBAction)useTrafficAction:(UIButton*)sender
{
    [_delegate useTrafficAction:sender];
}
- (IBAction)addAction:(id)sender
{
    [_delegate cell:self addAction:sender];
}
- (IBAction)deleteAction:(id)sender
{
    [_delegate cell:self deleteAction:sender];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
